lib/deploy: Ignore errors from FITHAW
authorColin Walters <walters@verbum.org>
Wed, 16 Aug 2017 16:44:05 +0000 (12:44 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 16 Aug 2017 18:01:04 +0000 (18:01 +0000)
commit40a64bcfe9d76a519eefc4df4e5491f5767bda14
tree76d4bd727ff9bfdadb4a33994a24a6e5ad462287
parentba28684ac2acd7dd97b1deeaf34259db023bad0e
lib/deploy: Ignore errors from FITHAW

In the production case since we used `daemon()` our stderr is `/dev/null`¹
there's not much use in logging errors from `FITHAW` or `exit(1)`, and doing so
breaks the test suite which checks the return from `waitpid()`. There's nothing
we can really do if `FITHAW` fails, and in most of those cases `EINVAL`,
`EOPNOTSUPP`, we *shouldn't* do anything anyways.

¹ Though perhaps we should set up the systemd journal, but let's not
  go there right now.

Closes: #1084
Approved by: jlebon
src/libostree/ostree-sysroot-deploy.c